Skip to content

feat: change context notation to ·<[·]#393

Open
fmontesi wants to merge 1 commit intomainfrom
context-notation
Open

feat: change context notation to ·<[·]#393
fmontesi wants to merge 1 commit intomainfrom
context-notation

Conversation

@fmontesi
Copy link
Collaborator

@fmontesi fmontesi commented Mar 3, 2026

This PR updates the notation for filling contexts from c[t] to c<[t], as discussed on Zulip.

@fmontesi fmontesi requested a review from chenson2018 as a code owner March 3, 2026 09:21
fill (c : Context) (t : Term) : Term

@[inherit_doc] notation:max c "[" t "]" => HasContext.fill c t
@[inherit_doc] notation:max c "<[" t "]" => HasContext.fill c t
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a suggestion : You might want to add space on the inside of the block brackets. It's an aesthetic choice, but it might make terms look distinct from the surrounding context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants